/*
 * HackSQL
 * Copyright (C) 2008-2009
 *
 * Authors: Felipe Nascimento Silva Pena
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef HACKSQL_H
#define HACKSQL_H

#ifdef DEBUG
# define HS_DEBUG(x) printf(x)
#else
# define HS_DEBUG(x)
#endif

/* Header for internacionalization _() */
#include <libintl.h>

#define HACKSQL_DEFAULT_SERVER    "localhost"
#define HACKSQL_DEFAULT_PORT      "4225"
#define HACKSQL_DEFAULT_USERNAME  "hacksql"

#define HACKSQL_VERSION "0.1 pre-alpha"
#define HACKSQL_NUM_VERSION 0001
#define HACKSQL_DATE    "20090224"

#define _(STRING) gettext(STRING)

#define HS_SECURE_FREE(var) \
	if (var) {              \
		free(var);          \
	}



#endif
